export default{
  name:"VularHasOneDialog",
  props:{
    "icon":"mdi-share-variant",
    title:"社交分享优化",
    defaultModel:{
      id:"d1",
      title:"好奇怪的标题",
    },
    layout:[
      {
        name:"vular-input",
        props:{
          rules:"required|max:50",
          field:"title",
          vInput:{
            name:"v-text-field",
            props:{
              label:"标题",
              //"prepend-icon":"mdi-format-title",
            },
          },
        },
      },
      {
        name:"vular-input",
        props:{
          rules:"required|max:50",
          field:"description",
          vInput:{
            name:"v-textarea",
            props:{
              label:"描述",
              //"prepend-icon":"mdi-format-title",
            },
          },
        },
      },
      {
        name:"v-row",
        children:[
          {
            name:"v-col",
            props:{
              sm:"6",
            },
            children:[
              {
                name:"VularSingleImageInput",
                props:{
                  label:"图片",
                }
              }
            ]
          },
          {
            name:"v-col",
            props:{
              sm:"6",
            },
            children:[
              {
                name:"vular-input",
                props:{
                  rules:"required|max:50",
                  field:"width",
                  vInput:{
                    name:"v-text-field",
                    props:{
                      label:"宽",
                      //"prepend-icon":"mdi-format-title",
                    },
                  },
                },
              },
              {
                name:"vular-input",
                props:{
                  rules:"required|max:50",
                  field:"height",
                  vInput:{
                    name:"v-text-field",
                    props:{
                      label:"高",
                      //"prepend-icon":"mdi-format-title",
                    },
                  },
                },
              },
            ]
          }
        ],
      },
    ]
  },

}
